package com.platform.dbs;

/**
 * Description: 数据库常量
 *
 * @author wxw Created on 2019/9/9
 **/
public class DbConstants {
    /* ---------------- 数据库 URL 前缀 BEGIN---------------------------*/

    public static final String MYSQL_URL_PREFIX = "jdbc:mysql:";
    public static final String POSTGRES_URL_PREFIX = "jdbc:postgresql:";
    public static final String GBASE_URL_PREFIX = "jdbc:gbase:";
    public static final String ORACLE_URL_PREFIX = "jdbc:oracle:thin:";
    public static final String SQLSERVER_URL_PREFIX = "jdbc:sqlserver:";
    public static final String CLICKHOUSE_URL_PREFIX = "jdbc:clickhouse:";

    /* ---------------- 数据库 URL 前缀 END---------------------------*/

    /* ---------------- 业务数据 BEGIN---------------------------*/


    /**
     * 数据源-表主键
     */
    public static final String SOURCE_TABLE_PRIMARY_ID = "SOURCE_TABLE_PRIMARY_ID";

    /**
     * 数据源-表批次id
     */
    public static final String SOURCE_TABLE_IMPORT_ID = "SOURCE_TABLE_IMPORT_ID";

    /* ---------------- 业务数据 END---------------------------*/

}
